package com.hd.trans.ui.component;


import com.hd.trans.network.component.TranslateCallback;

/**
 * Author:  yang
 * Date:  2020-01-17 00:45
 * Desc:  翻译组件(文本)
 */
public interface TranslateComponent {

    /**
     * 快捷翻译
     */
    void translationText(String origContent, String fromTranslateCode, String toTranslateCode, TranslateCallback callback);

}
